var express = require('express');
var router = express.Router();
var User = require('../controllers/UserController')

/* GET users listing. */
router.post('/sendCode',User.sendCode);
router.post('/codePhoneLogin',User.codePhoneLogin);
router.post('/login',User.login)
router.post('/register',User.register)
router.post('/amend',User.amend)
module.exports = router;
